home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / cherfs.z / cherfs
Encoding:
Text File  |  2002-10-03  |  6.1 KB  |  199 lines

  1.  
  2.  
  3.  
  4. CCCCHHHHEEEERRRRFFFFSSSS((((3333SSSS))))                                                          CCCCHHHHEEEERRRRFFFFSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CHERFS - improve the computed solution to a system of linear equations
  10.      when the coefficient matrix is Hermitian indefinite, and provides error
  11.      bounds and backward error estimates for the solution
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE CHERFS( UPLO, N, NRHS, A, LDA, AF, LDAF, IPIV, B, LDB, X, LDX,
  15.                         FERR, BERR, WORK, RWORK, INFO )
  16.  
  17.          CHARACTER      UPLO
  18.  
  19.          INTEGER        INFO, LDA, LDAF, LDB, LDX, N, NRHS
  20.  
  21.          INTEGER        IPIV( * )
  22.  
  23.          REAL           BERR( * ), FERR( * ), RWORK( * )
  24.  
  25.          COMPLEX        A( LDA, * ), AF( LDAF, * ), B( LDB, * ), WORK( * ), X(
  26.                         LDX, * )
  27.  
  28. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  29.      These routines are part of the SCSL Scientific Library and can be loaded
  30.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  31.      directs the linker to use the multi-processor version of the library.
  32.  
  33.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  34.      4 bytes (32 bits). Another version of SCSL is available in which integers
  35.      are 8 bytes (64 bits).  This version allows the user access to larger
  36.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  37.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  38.      only one of the two versions; 4-byte integer and 8-byte integer library
  39.      calls cannot be mixed.
  40.  
  41. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  42.      CHERFS improves the computed solution to a system of linear equations
  43.      when the coefficient matrix is Hermitian indefinite, and provides error
  44.      bounds and backward error estimates for the solution.
  45.  
  46. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  47.      UPLO    (input) CHARACTER*1
  48.              = 'U':  Upper triangle of A is stored;
  49.              = 'L':  Lower triangle of A is stored.
  50.  
  51.      N       (input) INTEGER
  52.              The order of the matrix A.  N >= 0.
  53.  
  54.      NRHS    (input) INTEGER
  55.              The number of right hand sides, i.e., the number of columns of
  56.              the matrices B and X.  NRHS >= 0.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCHHHHEEEERRRRFFFFSSSS((((3333SSSS))))                                                          CCCCHHHHEEEERRRRFFFFSSSS((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      A       (input) COMPLEX array, dimension (LDA,N)
  75.              The Hermitian matrix A.  If UPLO = 'U', the leading N-by-N upper
  76.              triangular part of A contains the upper triangular part of the
  77.              matrix A, and the strictly lower triangular part of A is not
  78.              referenced.  If UPLO = 'L', the leading N-by-N lower triangular
  79.              part of A contains the lower triangular part of the matrix A, and
  80.              the strictly upper triangular part of A is not referenced.
  81.  
  82.      LDA     (input) INTEGER
  83.              The leading dimension of the array A.  LDA >= max(1,N).
  84.  
  85.      AF      (input) COMPLEX array, dimension (LDAF,N)
  86.              The factored form of the matrix A.  AF contains the block
  87.              diagonal matrix D and the multipliers used to obtain the factor U
  88.              or L from the factorization A = U*D*U**H or A = L*D*L**H as
  89.              computed by CHETRF.
  90.  
  91.      LDAF    (input) INTEGER
  92.              The leading dimension of the array AF.  LDAF >= max(1,N).
  93.  
  94.      IPIV    (input) INTEGER array, dimension (N)
  95.              Details of the interchanges and the block structure of D as
  96.              determined by CHETRF.
  97.  
  98.      B       (input) COMPLEX array, dimension (LDB,NRHS)
  99.              The right hand side matrix B.
  100.  
  101.      LDB     (input) INTEGER
  102.              The leading dimension of the array B.  LDB >= max(1,N).
  103.  
  104.      X       (input/output) COMPLEX array, dimension (LDX,NRHS)
  105.              On entry, the solution matrix X, as computed by CHETRS.  On exit,
  106.              the improved solution matrix X.
  107.  
  108.      LDX     (input) INTEGER
  109.              The leading dimension of the array X.  LDX >= max(1,N).
  110.  
  111.      FERR    (output) REAL array, dimension (NRHS)
  112.              The estimated forward error bound for each solution vector X(j)
  113.              (the j-th column of the solution matrix X).  If XTRUE is the true
  114.              solution corresponding to X(j), FERR(j) is an estimated upper
  115.              bound for the magnitude of the largest element in (X(j) - XTRUE)
  116.              divided by the magnitude of the largest element in X(j).  The
  117.              estimate is as reliable as the estimate for RCOND, and is almost
  118.              always a slight overestimate of the true error.
  119.  
  120.      BERR    (output) REAL array, dimension (NRHS)
  121.              The componentwise relative backward error of each solution vector
  122.              X(j) (i.e., the smallest relative change in any element of A or B
  123.              that makes X(j) an exact solution).
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. CCCCHHHHEEEERRRRFFFFSSSS((((3333SSSS))))                                                          CCCCHHHHEEEERRRRFFFFSSSS((((3333SSSS))))
  137.  
  138.  
  139.  
  140.      WORK    (workspace) COMPLEX array, dimension (2*N)
  141.  
  142.      RWORK   (workspace) REAL array, dimension (N)
  143.  
  144.      INFO    (output) INTEGER
  145.              = 0:  successful exit
  146.              < 0:  if INFO = -i, the i-th argument had an illegal value
  147.  
  148. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  149.      ITMAX is the maximum number of steps of iterative refinement.
  150.  
  151. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  152.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  153.  
  154.      This man page is available only online.
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.